#!/usr/bin/env python
# -*- coding: utf-8 -*-
# @Time    : 2017/3/20 14:53
# @Author  : 柳晓飞
# @Site    : 
# @File    : main.py
# @Software: PyCharm
import platform
import sys
sysstr = platform.system()
if(sysstr =="Windows"):
    sys.path.append('F:\pythonWork\JjServer\jjserver')
elif(sysstr == "Linux"):
    sys.path.append('/root/JjServer/jjserver')
else:
    print ("Other System no sys.path.append")

import gameserver
import deal
import card
import jjGlobal.jjGlobal as jjGlob

if __name__ == "__main__":
    jjGlob.gameserver = gameserver.GameServer()
    jjGlob.gameserver.customInit()

    jjGlob.gameserver.startWSServer('0.0.0.0',8091)

    print('gameserver end')